package top.hzy520.payment.alipay.service;

import com.alipay.api.AlipayApiException;
import top.hzy520.payment.alipay.dto.Order;
import top.hzy520.payment.alipay.dto.RefundInputDto;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 21:49 2018/9/15
 */
public interface AliPayService {
   void   alipayPcPay(Order order, HttpServletResponse response);

    void notifyUrl(HttpServletRequest request, HttpServletResponse response) throws IOException;

    String reFund(RefundInputDto payInputDto) throws AlipayApiException;

}
